package pers.smalltown.ourspace.record;

public class QueryDate {
	private String year;
	private String month;
	private String day;
	public String getYear() {
		return year;
	}
	public void setYear(String year) {
		this.year = year;
	}
	public String getMonth() {
		return month;
	}
	public void setMonth(String month) {
		this.month = month;
	}
	public String getDay() {
		return day;
	}
	public void setDay(String day) {
		this.day = day;
	}
	public QueryDate(String year, String month, String day) {
		super();
		if (month.length() == 1) {
			month = "0" + month;
		}
		if (day.length() == 1) {
			day = "0" + day;
		}
		this.year = year;
		this.month = month;
		this.day = day;
	}
	public QueryDate() {}
}
